#include "tinyxml.h"
#include "EasyBMP.h"

class frame{
 public:
  bool show_me;
  bool plot_vessels;
  bool outline_tumor;
  
  char* DataName;
  char* DataSource;
  
  char* Label;
  
  double min_scale;
  double max_scale;
  bool Use_MinMax_scale;
  
  bool colorbar;
  bool colorbar_labels;
  
  int position_x;
  int position_y;
  
  bool special_blood_vessel_plot;
  
  RGBApixel (*color_function)(double,double,double); 
  bool (*draw_colorbar_function)(BMP&,double,double,int,int,int,int);  
  bool reverse_colors;
  
  RGBApixel vessel_color;
  RGBApixel tumor_outline_color;

 frame();
 ~frame(); 
 bool SetDataName( const char* input );
 
 bool SetDataSource( const char* input );
 bool SetDataSource( double Time );
 
 bool SetFromTinyXml( TiXmlElement* Root );
 
 void display( void );
};
